import java.util.Vector;

/**
 * 
 */

/**
 * @author TYM
 *
 */

public class Site {
    final static String DELI = "\t";
    private int id;
    private Position pos;
    private String title;
    private Vector<String> keywords;
    
    public int getID() {return id;}
    public Position getPosition() {return pos;}
    public String getTitle() {return title;}
    public Vector<String> getKeywords() {return keywords;}
    
    public String toString() {
        return id+DELI+pos.toString()+DELI+title+DELI+keywords.toString();
    }
    public boolean equals(Site s) {
        if (s.getID() == id) {
            return true;
        }
        else {
            return false;
        }
    }
}
